
Template application "DocuWare (ALOS)"

======================================


The DocuWare template application produces single-page TIFF images and
an ASCII Index Information text file for use by the DocuWare "Import"
program.


Import requirements
-------------------

The DocuWare "Import" program requires the customer to create a template
file where the program settings will be stored.

The following describes the output produced by Capture Software and the
requirements for a DocuWare "Import" template file to import the Capture
Software DocuWare batch output.



Document indexing
-----------------

* The Index Information files are named
  "<Capture Software batch name>.TXT" and are located in the output path
  specified in the "Output" tab in the command "Application Setup" under
  the "File" menu of Capture Software.

* The following is an example of a fully qualified index information
  filename for the Capture Software batch "BATCH011":

	C:\KODAK\INDEX\BATCH011.TXT

  where "C:\KODAK\INDEX" is the output path for the application.



Folder structure
----------------

* The images files for each batch are located in a subfolder of the out-
  put path with the same name as the Capture Software batch name.

* All images for all of the documents in the batch are located in this
  one subfolder.

* All the images are single-page TIFF files and are named:

	<Capture Software document number>.<image number>

* For example, in "BATCH011", if Document Number 1 contained 5 images,
  then the image files would be located in the following subfolder:

	C:\KODAK\INDEX\BATCH011

  and would be named:

	00000001.001
	00000001.002
	00000001.003
	00000001.004
	00000001.005

* When the "DocuWare (ALOS)" batch output format is selected, the "Out-
  put" tab of the application setup displays the DocuWare batch output
  structure.



Document indexing
-----------------

* The index information file contains one record for each document in
  the batch.

* Each record is separated by a CR (carriage return) and LF (linefeed).

* Each record contains the Capture Software Document Number as the first
  field followed by field values for each Document Index field, as de-
  fined in application setup, in the order the Document Index fields are
  defined.

* Each data field contains text brackets ("" or double quotes) around
  the field value and the field values are delimited by a comma.

	Note: if you are using Capture Software to only scan in document
	images and will not be defining any Document Index fields, then
	the only data field in the index information file will be the
	Capture Software Document Number. In this scenario, the data
	field will NOT contain text brackets.



On DocuWare's side
------------------

* The DocuWare File Cabinet and the Capture Software application setup
  must be synchronized and contain the same data field/Document Index
  field definitions in order for the DocuWare Import process to work.

* In addition, the DocuWare "Import" template file definition must con-
  form to the Capture Software batch output.

* The following describes the index information files, produced by Cap-
  ture Software, using DocuWare Import screen terminology to assist the
  DocuWare customer in defining an appropriate template file with which
  to import Capture Software batches:

	Tab "Index File" of DocuWare Import

		* One index file for all documents

	Tab "Structure of index file"

		* Data field delimiters and data records delimiter
		* Data fields delimiter is the comma (,)
		* Data records delimiter is CR (carriage return) and LF
		  (linefeed)
		* Text brackets are double quotes (")
		* Number of fields is 1+n where "n" is the number of
		  Capture Software Document Index fields defined
		* Date format must match the format of date fields de-
		  fined in Capture Software application setup.
		  	Note: DocuWare does not support Julian date
			format fields!
		  
	Tab "Field assignments"

		* Field0 is always the filename without extension (Cap-
		  ture Software Document Number)
		* Field1 is the 1st field defined in Capture Software
		  application setup (see the tab Index-Document)
		* Field2 is the 2nd field defined in Capture Software
		  application setup
		* Fieldn is the nth field defined in Capture Software
		  application setup

	Tab "Directory structure 1"

		* All documents in one subfolder

	Tab "Directory structure 2"

		* Document ID: positions 1-8
		* Page number: positions 10-12
		* No Front/Back page identification
		* Assignment to index file: "Field0" represents "File-
		  name without Extension"

	*** NOTE ***
	The files DWIMPORT.DOC (a Word 97 file) and DWIMPORT.PDF (an A-
	dobe Acrobat PDF file), located on the Capture Software CD in
	the subfolder "\XVCS\XX\MUPATH\BATCHOUT\ODCW" contain sample Do-
	cuWare Import screen captures for importing Capture Software
	batches.



Sample index file
-----------------

The following is an example of an Index Information file for a Capture
Software application that has defined 3 Document Index fields. The batch
contains 8 documents:

	"00000001","12345","09021998","ABC"
	"00000002","23456","08311997","ZZZ"
	"00000003"," "," "," "
	"00000004","78476","01022000","5YH"
	"00000005","12340","09021998","ABC"
	"00000006"," "," "," "
	"00000007","44920","09021998","DEF"
	"00000008","38493","08171998"," "

Note: if a data field is optional and there is no data field value, Cap-
ture Software will assign a value of one blank character (" ").
